package org.pettyfox.pfpay.msg;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class ObjectResponse<T> extends  BaseResponse {
    private T data;
    public static <T> ObjectResponse<T>  ok(T d){
        ObjectResponse<T> response = new ObjectResponse<>();
        response.setStatus(200);
        response.setData(d);
        return response;
    }


}
